import { uniFeatch } from './uni-fetch'

//消息列表
export const getMessageListAPI = ({ contentType, page = 1, pageSize = 10, }) => {
  return uniFeatch.get("/driver/messages/page", { contentType, page, pageSize })
}

// 司机端系统通知
export const getMessageReadAllAPI = (contentType) => {
  return uniFeatch.put(`/driver/messages/readAll/${contentType}`)
}